package com.itheima.service;

import com.itheima.dto.OrderDTO;
import com.itheima.vo.OrderVO;

public interface OrderService {
    /**
     * 根据id查询预约信息
     * @param id
     * @return
     */
    OrderVO findById(Integer id);

    /**
     * 预约提交
     *
     * @param orderDTO
     * @return
     */
    Integer submitOrder(OrderDTO orderDTO);
}
